package com.designpatterns.behavioral.command;

public class Stock {
    private String name = "ABC";
    private Integer quantity = 10;

    public void buy() {
        System.out.println("Stock [Name: " + name + ", Quantity: " + quantity + "] bought");
    }

    public void sell() {
        System.out.println("Stock [Name: " + name + ", Quantity: " + quantity + "] sold");
    }
}
